package com.ruoyi.system.domain;

import com.ruoyi.common.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 微信号表
 * @author admin
 *
 */
public class WxGroupSendingSchedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

	/** ID */
	private Long id;

    /** 定时名称 */
    private String name;
    
    /** 微信号id */
    private int codeId;
    
    /** 消息模板id */
    private int modelId;
    
    /** 方法名 */
    private String methodName;
    
    /** 创建时间 */
    private Date createAt;

    private WxCode wxCode;

    private WxSendMsgModel sendMsgModel;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public int getCodeId() {
		return codeId;
	}

	public void setCodeId(int codeId) {
		this.codeId = codeId;
	}

	public int getModelId() {
		return modelId;
	}

	public void setModelId(int modelId) {
		this.modelId = modelId;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public WxCode getWxCode() {
		return wxCode;
	}

	public void setWxCode(WxCode wxCode) {
		this.wxCode = wxCode;
	}

	public WxSendMsgModel getSendMsgModel() {
		return sendMsgModel;
	}

	public void setSendMsgModel(WxSendMsgModel sendMsgModel) {
		this.sendMsgModel = sendMsgModel;
	}

	@Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
			.append("id", getId())
            .append("name", getName())
            .append("codeId", getCodeId())
            .append("modelId", getModelId())
            .append("methodName", getMethodName())
			.append("createAt", getCreateAt())
        	.toString();
    }
}
